/**
 * 延时执行
 * @param {Number} time
 * @return {Promise}
 */
export const sleep = (time=1000) => {
    return new Promise(resolve => {
        setTimeout(resolve, time)
    })
}
